
#if !Windows

#include "AndroidSetup.h"

#ifdef ref
#undef ref
#endif
#include <jni.h>

// Variables.
void* _android_enviroment;
std::vector2<int> _android_keyCodeInputs;
void* _android_javaVM;
AAssetManager* mgr;

// When this methods calls. The main project must have an void main() function available to make it compile.
void _initAndroid(void* env)
{
	_android_enviroment = env;

	//JavaVM* jvm;
	//((JNIEnv*)env)->GetJavaVM(&jvm);
	//_android_javaVM = jvm;

	main();
}

#endif